package com.cssy.yd.logic.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据对象
 * @since 2013-08-26
 */
public class LogicMaterialReturnItemDO implements Serializable {

	private static final long serialVersionUID = -4232790650166580868L;
	
	/**
	 * column logic_material_return_item.id
	 */
	private String id;
	
	/**
	 * column logic_material_return_item.mareturnid  退料单id
	 */
	private String mareturnId;
	
	/**
	 * column logic_material_return_item.mareturncode  退料单编号
	 */
	private String mareturnCode;
	
	/**
	 * column logic_material_return_item.batch  批次
	 */
	private String batch;
	
	/**
	 * column logic_material_return_item.materialsid  物料ID
	 */
	private String materialsid;
	
	/**
	 * column logic_material_return_item.code  货品编码
	 */
	private String code;
	
	/**
	 * column logic_material_return_item.unitconvert  unit的换算率
	 */
	private Double unitconvert;
	
	/**
	 * column logic_material_return_item.spec  货品规格
	 */
	private String spec;
	
	/**
	 * column logic_material_return_item.unit  货品单位
	 */
	private String unit;
	
	/**
	 * column logic_material_return_item.junit  基本单位
	 */
	private String junit;
	
	/**
	 * column logic_material_return_item.name  货品名称
	 */
	private String name;
	
	/**
	 * column logic_material_return_item.quantity  退料数量
	 */
	private Double quantity;
	
	/**
	 * column logic_material_return_item.jquantity  基本单位数量
	 */
	private Double jquantity;
	
	/**
	 * column logic_material_return_item.status  货品状态
	 */
	private String status;
	
	/**
	 * column logic_material_return_item.stock_price  进货价
	 */
	private Double stockPrice;
	
	/**
	 * column logic_material_return_item.price  单价
	 */
	private Double price;
	
	/**
	 * column logic_material_return_item.remark  备注
	 */
	private String remark;
	
	/**
	 * column logic_material_return_item.hubcode  库位编码
	 */
	private String hubCode;
	
	/**
	 * column logic_material_return_item.hubname  库位名称
	 */
	private String hubName;
	
	/**
	 * column logic_material_return_item.brand  品牌
	 */
	private String brand;
	
	/**
	 * column logic_material_return_item.bzq  保质期
	 */
	private Double bzq;
	
	/**
	 * column logic_material_return_item.scrq  生产日期
	 */
	private Date scrq;
	
	/**
	 * column logic_material_return_item.yxq  有效期
	 */
	private Date yxq;

	
	private String itemBatch;
	
	private String openBatch;
    
    private Double val;
    
	public LogicMaterialReturnItemDO() {
		super();
	}

	public LogicMaterialReturnItemDO(String id, String mareturnId,
			String mareturnCode, String batch, String materialsid,Double unitconvert, String code,
			String spec, String unit, String junit, String name,
			Double quantity, Double jquantity, String status,
			Double stockPrice, Double price, String remark, String hubCode,
			String hubName, String brand, Double bzq, Date scrq, Date yxq) {
		this.id = id;
		this.mareturnId = mareturnId;
		this.mareturnCode = mareturnCode;
		this.batch = batch;
		this.materialsid = materialsid;
		this.unitconvert = unitconvert;
		this.code = code;
		this.spec = spec;
		this.unit = unit;
		this.junit = junit;
		this.name = name;
		this.quantity = quantity;
		this.jquantity = jquantity;
		this.status = status;
		this.stockPrice = stockPrice;
		this.price = price;
		this.remark = remark;
		this.hubCode = hubCode;
		this.hubName = hubName;
		this.brand = brand;
		this.bzq = bzq;
		this.scrq = scrq;
		this.yxq = yxq;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMareturnId() {
		return mareturnId;
	}

	public void setMareturnId(String mareturnId) {
		this.mareturnId = mareturnId;
	}

	public String getMareturnCode() {
		return mareturnCode;
	}

	public void setMareturnCode(String mareturnCode) {
		this.mareturnCode = mareturnCode;
	}

	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	public String getMaterialsid() {
		return materialsid;
	}

	public void setMaterialsid(String materialsid) {
		this.materialsid = materialsid;
	}

	public Double getUnitconvert() {
		return unitconvert;
	}

	public void setUnitconvert(Double unitconvert) {
		this.unitconvert = unitconvert;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getJunit() {
		return junit;
	}

	public void setJunit(String junit) {
		this.junit = junit;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getQuantity() {
		return quantity;
	}

	public void setQuantity(Double quantity) {
		this.quantity = quantity;
	}

	public Double getJquantity() {
		return jquantity;
	}

	public void setJquantity(Double jquantity) {
		this.jquantity = jquantity;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Double getStockPrice() {
		return stockPrice;
	}

	public void setStockPrice(Double stockPrice) {
		this.stockPrice = stockPrice;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getHubCode() {
		return hubCode;
	}

	public void setHubCode(String hubCode) {
		this.hubCode = hubCode;
	}

	public String getHubName() {
		return hubName;
	}

	public void setHubName(String hubName) {
		this.hubName = hubName;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public Double getBzq() {
		return bzq;
	}

	public void setBzq(Double bzq) {
		this.bzq = bzq;
	}

	public Date getScrq() {
		return scrq;
	}

	public void setScrq(Date scrq) {
		this.scrq = scrq;
	}

	public Date getYxq() {
		return yxq;
	}

	public void setYxq(Date yxq) {
		this.yxq = yxq;
	}

	public String getItemBatch() {
		return itemBatch;
	}

	public void setItemBatch(String itemBatch) {
		this.itemBatch = itemBatch;
	}

	public String getOpenBatch() {
		return openBatch;
	}

	public void setOpenBatch(String openBatch) {
		this.openBatch = openBatch;
	}

	public Double getVal() {
		return val;
	}

	public void setVal(Double val) {
		this.val = val;
	}
	
}
